﻿@if(Request.IsAuthenticated) {
    if(Roles.IsUserInRole("Administrator")){
        <span style="padding-right:30px;">@Html.ActionLink("View administration page", "Index", new { area = "Admin", controller = "Articles" }, new { @class = "whiteLink" })</span>
    }
    <text>Welcome Back @Context.User.Identity.Name [ @Html.ActionLink("Log Off", "LogOff", "Account", null, new { @class = "whiteLink" }) ]</text>
}
else {
    <img src="../../Images/login_icon.png" style="vertical-align:middle;" alt="" /><text>Welcome Guest: @Html.ActionLink("Login", "Login", "Account", null, new { @class = "whiteLink" })</text>
}
